<%-- 
    Document   : file
    Created on : 24.04.2010, 16:05:59
    Author     : Cyclone
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <p>Upload file</p>
        <form action="Upload" method="POST" enctype="multipart/form-data">
            <!-- <form action="Upload" method="POST"> -->
            <input type="file" name="file"/>
            <br/>
            <input type="input" name="docId" value="1"/>
            <br/>
            <input type="submit" value="Submit"/>
        </form>

        <p>Download file</p>
        <form action="FileDownload" method="GET">
            <!-- <form action="Upload" method="POST"> -->
            <label for="docId">Document Id</label>
            <input type="text" name="docId" value="1"/>
            <br/>

            <label for="version">Version</label>
            <input type="text" name="version"/>
            <br/>
            <input type="submit" value="Submit"/>
        </form>
    </body>
</html>
